﻿using System;
namespace OnlineManagement.Model
{
	/// <summary>
	/// Feeding:实体类(属性说明自动提取数据库字段的描述信息) 
    /// 饲喂表
	/// </summary>
	[Serializable]
	public partial class Feeding
	{
        public Feeding()
        { }
        #region Model
        private int _feedingid;
        private int _hoggeryid;
        private Guid _purchaseid;
        private Guid _sowid;
        private int? _hogid;
        private DateTime? _feedingdatebegin;
        private decimal? _feedingscale;
        private decimal? _unit;
        private string _unitname = "斤/天";
        /// <summary>
        /// 
        /// </summary>
        public int FeedingID
        {
            set { _feedingid = value; }
            get { return _feedingid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int HoggeryID
        {
            set { _hoggeryid = value; }
            get { return _hoggeryid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid PurchaseID
        {
            set { _purchaseid = value; }
            get { return _purchaseid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid SowID
        {
            set { _sowid = value; }
            get { return _sowid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? HogID
        {
            set { _hogid = value; }
            get { return _hogid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FeedingDateBegin
        {
            set { _feedingdatebegin = value; }
            get { return _feedingdatebegin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FeedingScale
        {
            set { _feedingscale = value; }
            get { return _feedingscale; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? Unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UnitName
        {
            set { _unitname = value; }
            get { return _unitname; }
        }
        #endregion Model
	}
}

